﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZoneLine.ViewModels
{
    public class LoadingModel : ObservableObject
    {

        private bool _actionSuccess;
        public bool ActionSuccess
        {
            get { return _actionSuccess; }
            set => SetProperty(ref _actionSuccess, value);
        }

        private bool _actionFailed;

        public bool ActionFailed
        {
            get { return _actionFailed; }
            set => SetProperty(ref _actionFailed, value);
        }

        private bool _isBusy;

        public bool IsBusy
        {
            get { return _isBusy; }
            set => SetProperty(ref _isBusy, value);
        }

        private string _text;

        public string Text
        {
            get { return _text; }
            set => SetProperty(ref _text, value);
        }

        private string _successText;

        public string SuccessText
        {
            get { return _successText; }
            set => SetProperty(ref _successText, value);
        }

        private string _errText;

        public string ErrText
        {
            get { return _errText; }
            set => SetProperty(ref _errText, value);
        }

    }
}
